cmake_minimum_required(VERSION 3.5)
project(lineMath)
set(TARGET Demo)
# find_package(Eigen3 3.3.4-4 REQUIRED)
find_package(Eigen3 REQUIRED) 

include_directories(${EIGEN3_INCLUDE_DIR})
 
add_executable(${TARGET} demo.cpp)
target_link_libraries(${TARGET} ${EIGEN3_LIBRARIES})
